package linearsearcharray;

public class Test {
    public static void main(String[] args) {
        LinearSearchArray linSearch = new LinearSearchArray();
        int[] list = {1, 5, 1, 5, 64, 8, 9,
                4, 8, -8, -2};
        System.out.println(linSearch.linearSearch(list, 4) + ".ais elements" + "\n"
                + linSearch.linearSearch(list, -4) + ".ais elements" + "\n"
                + linSearch.linearSearch(list, 5) + ".ais elements");
    }
}
